home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Just Call Me Internet
/
Just Call Me Internet.iso
/
com
/
radio
/
rcommand
/
printer.hex
< prev
next >
Wrap
Text File
|
1993-10-27
|
13KB
|
235 lines
******************************************************************
*
* HP LaserJet 4L Printer Configuration Table
*
* Adapted 06/12/1993 by Frank Storm, D-52072 Aachen
*
* This file contains tables defining the code sequences
* to be sent to the printer to perform various functions
* and to access the characters from codes in the Atari
* character set. All characters, that do not exist in any
* character set of the Laserjet 4L are replaced by a space.
*
******************************************************************
*
* Name of printer
* ===============
*
HP LaserJet 4L
*
* Miscellaneous configurable variables
* ====================================
*
* 1: printer type, 0=dot matrix, 1=daisy wheel
* Note if printer type is 0 the following 4 variables are never used.
* 2: unit width of one character
* 3: unit height of one line
* 4: Approximate middle of carriage after formfeed
* 5: Carriage shift for bold overstrike
* 6: Pause between pages
0, 0, C, 48, 0, 0
*
* Printer characteristics
* =======================
*
* This table specifies the printer command sequences.
* If the top bit of a code is set, then this indicates the position
* of a parameter passed to the printer. The code whose top bit is set
* in this table is added to the parameter passed before being sent to the
* printer. It is not used in all command sequences, only in those where
* the printer requires a variable value such as the length of a vertical
* tab.
*
* 0 * Character width
1, D, A * Linefeed WITH return
* 2 * Forward print
* 3 * Reverse print
* 4 * Absolute vertical tab
* 5 * Absolute horizontal tab
6, 1B, 28, 73, 33, 42 * Draft bold on
7, 1B, 28, 73, 30, 42 * Draft bold off
8, 1B, 28, 73, 33, 42 * NLQ bold on
9, 1B, 28, 73, 30, 42 * NLQ bold off
A, 1B, 28, 73, 31, 53 * Draft Italic on
B, 1B, 28, 73, 30, 53 * Draft Italic off
C, 1B, 28, 73, 31, 53 * NLQ Italic on
D, 1B, 28, 73, 30, 53 * NLQ Italic off
E, 1B, 28, 73, 2D, 33, 42 * Draft light on
F, 1B, 28, 73, 30, 42 * Draft light off
10, 1B, 28, 73, 2D, 33, 42 * NLQ enlarged on (NLQ light on)
11, 1B, 28, 73, 30, 42 * NLQ enlarged off (NLQ light off)
*12, 1B, 53, 0 * Draft superscript on
*13, 1B, 54 * Draft superscript off
*14, 1B, 53, 0 * NLQ superscript on
*15, 1B, 54 * NLQ superscript off
*16, 1B, 53, 1 * Draft subscript on
*17, 1B, 54 * Draft subscript off
*18, 1B, 53, 1 * NLQ subscript on
*19, 1B, 54 * NLQ subscript off
1A, 1B, 26, 64, 30, 44 * Draft underline on
1B, 1B, 26, 64, 40 * Draft underline off
1C, 1B, 26, 64, 30, 44 * NLQ underline on
1D, 1B, 26, 64, 40 * NLQ underline off
1E, C * Formfeed ( LINEFEED )
*1F, 1B, 44, 1, 0, 9 * Horizontal initialisation
*20, 1B, 42, 0, 0, B * Vertical initialisation
21, 1B, 28, 38, 55 * Printer reset (switch to character set Roman-8)
*22, 8 * Backspace
23, D * Carriage return
*24, 1B, 26, 6C, 80, 46 * Form length in lines
*25, 1B, 41, 80 * Set line feed to N/72"
*26, 1B, 2A, 4 * Start graphics
*27 * reserved
28, 1B, 26, 6B, 30, 53 * draft pica
29, 1B, 26, 6B, 30, 53 * NLQ pica
2A, 1B, 26, 6B, 34, 53 * draft elite
2B, 1B, 26, 6B, 34, 53 * no NLQ elite
2C, 1B, 26, 6B, 32, 53 * compressed
2D, 1B, 26, 6B, 32, 53 * no NLQ compressed
*2E, 1B, 78, 0, 1B, 50, 12, 0E * enlarged
*2F, 1B, 78, 1, 1B, 50, 12, 0E * NLQ enlarged
0
*
* Translation Table
* =================
*
* This table provides translation from single Atari input bytes into
* multiple Epson printer codes, and is useful for printing extraneous
* characters such as accented characters etc. All characters are
* subjected to translation, but if there is no entry in the table for
* a particular code, then the original code is sent to the printer.
*
* The entries must be arranged in ascending order of Atari input
* code. The table is NULL terminated.
*
7F, 1B, 28, 31, 30, 55, 7F, 1B, 28, 38, 55 * Triangle
80, B4 * Upercase C Cedilla
81, CF * Lowercase U Dieresis
82, C5 * Lowercase E Acute
83, C0 * Lowercase A Circumflex
84, CC * Lowercase A Dieresis
85, C8 * Lowercase A Grave
86, D4 * Lowercase A Ring
87, B5 * Lowercase C Cedilla
88, C1 * Lowercase E Circumflex
89, CD * Lowercase E Dieresis
8A, C9 * Lowercase E Grave
8B, DD * Lowercase I Dieresis
8C, D1 * Lowercase I Circum
8D, D9 * Lowercase I Grave
8E, D8 * Uppercase A Dieresis
8F, D0 * Uppercase A Ring
90, DC * Uppercase E Acute
91, D7 * Lowercase AE
92, D3 * Uppercase AE
93, C2 * Lowercase O Circum
94, CE * Lowercase O Dieresis
95, CA * Lowercase O Grave
96, C3 * Lowercase U Circum
97, CB * Lowercase U Grave
98, EF * Lowercase Y Dieresis
99, DA * Uppercase O Dieresis
9A, DB * Uppercase U Dieresis
9B, BF * Cent Sign
9C, BB * Pound Sterling Sign
9D, BC * Yen Sign
9E, DE * Lowercase Es-zet
9F, BE * Florin Sign
A0, C4 * Lowercase A Acute
A1, D5 * Lowercase I Acute
A2, C6 * Lowercase O Acute
A3, C7 * Lowercase U Acute
A4, B7 * Lowercase N Tilde
A5, B6 * Uppercase N Tilde
A6, 1B, 26, 64, 30, 44, 61, 1B, 26, 64, 40 * Lowercase A Underlined
A7, 1B, 26, 64, 30, 44, 6F, 1B, 26, 64, 40 * Lowercase o Underlined
A8, B9 * Inverted Question
A9, 1B, 28, 31, 30, 55, DA, 1B, 28, 38, 55 * Top Left Corner
AA, 1B, 28, 31, 30, 55, BF, 1B, 28, 38, 55 * Top Right Corner
AB, F8 * Vulgar Fraction 1/2
AC, F7 * Vulgar Fraction 1/4
AD, B8 * Inverted Exclamation
AE, FB * Dbl lft pt Ang Quote
AF, FD * Dbl rt pt Ang Quote
B0, E2 * Lowercase A Tilde
B1, EA * Lowercase O Tilde
B2, D2 * Uppercase O Oblique
B3, D6 * Lowercase O Oblique
B4, 1B, 28, 31, 39, 55, 9C, 1B, 28, 38, 55 * Lowercase OE Ligature
B5, 1B, 28, 31, 39, 55, 8C, 1B, 28, 38, 55 * Uppercase OE Ligature
B6, A1 * Uppercase A Grave
B7, E1 * Uppercase A Tilde
B8, E9 * Uppercase O Tilde
B9, AB * Lowwercase Dieresis
BA, A8 * Lowercase Acute
BB, 1B, 28, 31, 39, 55, 86, 1B, 28, 38, 55 * Dagger Symbol
BC, 1F * Pilcrow, Paragraph
BD, 1B, 28, 31, 39, 55, A9, 1B, 28, 38, 55 * Copyright Sign
BE, 1B, 28, 31, 39, 55, AE, 1B, 28, 38, 55 * Registered Sign
BF, 1B, 28, 31, 39, 55, 99, 1B, 28, 38, 55 * Trademark Sign
C0, 1B, 28, 36, 4A, F6, 1B, 28, 38, 55 * Lowercase IJ Ligature
C1, 1B, 28, 36, 4A, E6, 1B, 28, 38, 55 * Uppercase IJ Ligature
C2, 1B, 28, 38, 4D, D9, 1B, 28, 38, 55
C3, 1B, 28, 38, 4D, DA, 1B, 28, 38, 55
C4, 1B, 28, 38, 4D, DB, 1B, 28, 38, 55
C5
C6
C7
C8
C9
CA
CB
CC
CD
CE
CF
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
DA
DB
DC
DD, BD * Section Mark
DE, 1B, 28, 38, 4D, C5, 1B, 28, 38, 55 * dropped circumflex
DF, 1B, 28, 31, 30, 55, EC, 1B, 28, 38, 55 * Infinity Sign
E0, 1B, 28, 31, 30, 55, E0, 1B, 28, 38, 55 * Lowercase Greek Alpha
E1, 1B, 28, 38, 4D, 62, 1B, 28, 38, 55 * Lowercase Greek Beta
E2, 1B, 28, 31, 30, 55, E2, 1B, 28, 38, 55 * Uppercase Greek Gamma
E3, 1B, 28, 31, 30, 55, E3, 1B, 28, 38, 55 * Lowercase Pi
E4, 1B, 28, 31, 30, 55, E4, 1B, 28, 38, 55 * Large Sigma, Summ
E5, 1B, 28, 31, 30, 55, E5, 1B, 28, 38, 55 * Lowercase Greek Sigma
E6, F3 * Lowercase Greek My
E7, 1B, 28, 31, 30, 55, E7, 1B, 28, 38, 55 * Lowercase Greek Tau
E8, 1B, 28, 31, 30, 55, E8, 1B, 28, 38, 55 * Uppercase Greek Phi
E9, 1B, 28, 31, 30, 55, E9, 1B, 28, 38, 55 * Uppercase Greek Theta
EA, 1B, 28, 31, 30, 55, EA, 1B, 28, 38, 55 * Uppercase Greek Omega
EB, 1B, 28, 31, 30, 55, EB, 1B, 28, 38, 55 * Lowercase Greek Delta
EC, 1B, 28, 38, 4D, D6, 1B, 28, 38, 55 * Integral Ring Symbol
ED, 1B, 28, 31, 30, 55, ED, 1B, 28, 38, 55 * Uppercase Greek Phi
EE, 1B, 28, 31, 30, 55, EE, 1B, 28, 38, 55 * Membership
EF, 1B, 28, 31, 30, 55, EF, 1B, 28, 38, 55 * Integers
F0, 1B, 28, 31, 30, 55, F0, 1B, 28, 38, 55 * Exactly Equals
F1, FE * Plus Over Minus Sign
F2, 1B, 28, 31, 30, 55, F2, 1B, 28, 38, 55 * Greater Than / Equal To
F3, 1B, 28, 31, 30, 55, F3, 1B, 28, 38, 55 * Less Than / Equal To
F4, 1B, 28, 31, 30, 55, F4, 1B, 28, 38, 55 * Integral Symbol top piece
F5, 1B, 28, 31, 30, 55, F5, 1B, 28, 38, 55 * Integral Symbol bottom piece
F6, 1B, 28, 31, 30, 55, F6, 1B, 28, 38, 55 * Divide Sign
F7, 1B, 28, 31, 30, 55, F7, 1B, 28, 38, 55 * 2 Wavy Line Approx
F8, 1B, 28, 31, 30, 55, F8, 1B, 28, 38, 55 * Degree Sign
F9, 1B, 28, 31, 30, 55, F9, 1B, 28, 38, 55 * Small Solid Bullet
FA, 1B, 28, 31, 30, 55, FA, 1B, 28, 38, 55 * Small Solid Bullet
FB, 1B, 28, 31, 30, 55, FB, 1B, 28, 38, 55 * Radical Symbol
FC, 1B, 28, 31, 30, 55, FC, 1B, 28, 38, 55 * Superior Lowercase N
FD, 1B, 28, 31, 30, 55, FD, 1B, 28, 38, 55 * Superior Numeral 2
FE 1B, 28, 31, 39, 55, B3, 1B, 28, 38, 55 * Superior Numeral 3
FF, B0 * Overline, Overscore
0